@charset "utf-8";
//reset css

$bodyBgColor : #333943; //body background color
$navBarColor : #24282F; //nav bar background color
$leftMenuFontColor : #f1f1f1; //left menu font color
$leftMenuBorderTopColor : #3D454E; //left menu parent nav border-top color
$leftMenuBorderBottomColor : #24282F; //left menu parent nav border-bottom color
$leftChildMenuBgColor : #00BF9B; //left menu child nav background color

/*字体颜色变量*/
$font-default-color: #222;
$font-primary-color: #338bf1;
$font-info-color: #666;
$font-info-color-light: #888;
$font-danger-color: #ff5555;
$font-white-color: #fff;

/*背景颜色变量*/
$bg-default: #f5f5f5;
$bg-primary: #338bf1;
$bg-primary-light: #d2e7ff;
$bg-info: #e5e5e5;
$bg-danger: #ff5555;
$bg-black: #000;
$bg-white: #fff;

$bg-dark: #33384c;
$bg-dark2: #303341;

/*border */
$border-default:1px solid #e5e5e5;
$border-default-color: #e5e5e5;
$border-info-color: #ccc;
$border-primary-color: #338bf1;
$border-primary-color-light: #d2e7ff;
$border-danger-color: #ff5555;
$border-default-radius: 4px;
.none {display: none;}
.tl {text-align: left;}
.tr {text-align: right;}
.tc {text-align: center;}
.hr {height: 1px;background: $bg-info;}
.c-danger,.red {color:$font-danger-color;}
.c-primary {color:$font-primary-color;}
.c-info {color:$font-info-color;}
.fz16 {font-size: 16px;}
.break-all {word-break: break-all;word-wrap: break-word;}
.break-word {word-wrap: break-word;text-align: left;}
.ellipsis {overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
.hidePwd {position: absolute; opacity: 0;left: -9999px;}

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	background: #e4e7ea url("images/loader.gif") no-repeat center center;
}

/**
custom styles
*/
.navbar-inverse {
	.navbar-collapse {
		background-color: $navBarColor;
	}
	background-color: $navBarColor;

	.dropdown-menu.user > li > a {
		padding-top: 8px;
		padding-bottom: 8px;
	}
}
body {
	background-color: $bodyBgColor;
	.content-body {
		padding: 0;
	}
}
.main {
	padding: 50px 0px 0px 0px;
	width: 100%;

	//left section styles
	.left-section {
		float: left;
		width: 20%;

		.nav {
			.nav-parent {
				> a {
					color: $leftMenuFontColor;
					font-family:"微软雅黑";
					font-size: 14px;
					display: block;
					border-top:1px solid #3D454E;
					border-bottom: 1px solid $navBarColor;

					&:hover,&:active,&:visited,&:focus {
						background-color: $bodyBgColor;
					}
				}

				.children {
					padding: 0;
					display: none;

					.active {
						a {
							background-color: $leftChildMenuBgColor;
							color: #ffffff}
					}

					a {
						display: block;
						padding: 6px 10px 6px 30px;
						color: #6B8182;

						&:hover {
							background-color: $leftChildMenuBgColor;
							text-decoration: none;
							color: #ffffff;
						}
					}

				}
			}
		}
	}

	//right section styles
	.right-section {

		padding: 0;
		float: left;
		width: 80%;
		background: #ffffff;

		.inner-iframe {
			.breadcrumb {
				background-color: #D4D4D4;
				border-radius:0;
				line-height: 2;
				margin-bottom: 10px;

				.glyphicon-chevron-right {
					font-size: 10px;
					font-weight: 200;
				}
			}

			.inner-container {
				padding: 10px 20px;

				.content-add-form {
					//max-width: 800px;

					.btn-group {
						margin-top: 20px;
						margin-bottom: 30px;
					}

				}
			}
		}
	}
}

//组合按钮
.btn-group-or {
	position: relative;
	.btn-primary {
		padding-right: 20px;
	}
	.btn-default {
		padding-left: 20px;
	}
	.or {
		position: absolute;
		z-index: 10;
		padding: 5px;
		width: 30px;
		height: 30px;
		left: 74px;
		top: 2px;
		font-size: 14px;
		font-weight: bold;
		border-radius: 15px;
		background-color: #5CB85C;
		color: #ffffff;
	}
}

.form-group {
	.glyphicon-asterisk {
		color: #cc0000;
	}
}
.checkbox-group {
	padding-top: 8px;
}

//弹出框样式
.pop-layer-box {
	padding: 10px 20px;
}
.text-error {
	color: #cc0000;
}

//图片上传
$imgHeight : 118px;
.img-upload {
	cursor: pointer;
	margin-left:5px;
	display: block;
	width: $imgHeight;
	height:$imgHeight;
	border: 1px solid #ccc;
	margin-top: 4px;

	.glyphicon-picture {
		font-size: 40px;
		display: block;
		margin-top: 20px;
	}
	.upload-text {
		display: block;
		padding: 10px 20px;
	}
}

.import-input {
	border: 1px solid red;
	width: 100%; height: 40px;
	position: absolute;
	top:0; left: 0;
	opacity: 0;
	-moz-opacity: 0;
}

.form-search {
	.form-group {margin-bottom: 10px;}
	.btn-success {margin-bottom: 10px;}
	.mdate {max-width: 100px; display: inline-block;}
}

@media (min-width: 1200px) {

	.main {

		.left-section {
			width: 15%;
		}

		.right-section {
			width: 85%;
		}
	}

}

//分页样式
.pagination {
	.form-inline {
		padding: 0px;
		span {
			display: inline-block;
			padding: 0px 10px;
			line-height: 32px;

			.input-sm {
				padding: 0px;
				height: 22px;
			}
		}
	}
}

//footer styles
footer {
	margin: 0px 0px 0px 0px;
	padding: 10px 20px;
	color: #fff !important;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	a {
		color: #999999;
	}
}

//select2 样式
.select2-container {
	position: relative;
	z-index: 9001;
	min-width: 577px;
}

//icheck 样式
.icheck-label {
	margin-right: 15px;
}

//404页面样式
.error-page {
	width: 600px;
	margin: 20px auto 0 auto;

	.headline {
		font-size: 100px;
		font-weight: 300;
	}
}
.text-yellow {
	color: #f39c12 !important;
}
.text-red {
	color: #dd4b39 !important;
}

//修复bootswitch bug
.bootstrap-switch-swrap {
	min-width: 100px;
}

//下拉菜单
.dropdown-menu {
	min-width: 80px;
}

.bg-text {
	padding: 15px;
}

//图标组样式
.icon-group {
	position: absolute;
	display: inline-block;
	margin-left: 10px;
	.glyphicon {
		font-size: 30px;
		margin-right: 5px;
	}
}

//区域选择插件样式
.area-select {
	.form-control {margin-right: 10px;}
}

//图片选中样式
img.selected {
	border: 1px solid #cc0000;
}

//批量编辑表单样式
.table-bordered {
	.input-sm {
		font-size: 14px;
	}
}

//权限选项卡样式
.permission-item {
	padding: 10px 15px;
}

//Haiwera

.assocul
{
border:1px solid #ccc;list-style:none;padding:0px;height:150px;
border-radius:5px;
overflow:scroll;
}
.assocul li{
	padding:5px 15px;
}
.assocul li:nth-child(odd){
	background:#f9f9f9;
}
.assocul li:hover{
	background:#efefef;
}
.assocview{
padding:0px;
position:absolute;top: 33px;left:15px;border:1px solid #ccc;width:100%;z-index:999;background:#fff;border-radius: 5px;
}
.assocview span{
	padding:5px 10px;
	display:block;
	width:100%;
	cursor:pointer;
	
}
.assocview span:last-child{
	border-bottom:1px solid #aaa;
	
}
.assocview em{
	padding:5px 10px;
	border-top:1px solid #ccc;
	display:block;
	width:100%;
	
}
.assocview span:nth-child(odd){
	background:#f9f9f9;
}
.assocview span:hover(odd){
	background:#efefef;
}
.assoc-foreign-form .form-group{
	
}

.assoc-alertbox .content{

	height:400px;overflow-y:scroll;
	width:100%;
}
.assoc-alertbox .content .table{
	margin-top:5px;
}
.assoc-alertbox .input-sm
{
	height:22px;
	line-height:22px;
}
.assoc-alertbox .content .table>thead>tr>th, 
.assoc-alertbox .content .table>tbody>tr>th, 
.assoc-alertbox .content .table>tfoot>tr>th, 
.assoc-alertbox .content .table>thead>tr>td, 
.assoc-alertbox .content .table>tbody>tr>td, 
.assoc-alertbox .content .table>tfoot>tr>td
{
	padding:1px;
}

.assoc-alertbox .pagination {
  margin: 0px;
}
.form-horizontal .form-group .asterisk {
  color: #f00;
  font-size: 120%;
}
.asterisk {
  color: #f00;
  font-size: 120%;
}

.form-horizontal .form-group.text-error{

  padding-left: 228px;
}
.form-horizontal .control-label.my-left{
  text-align: left;

  float: left;

}
.my-left{
  text-align: left;

  float: left;

}
//城市选择
.area-wrap .form-control{
	display: inline-block;
	width: auto;
}

/*------------合同详情页-----------*/
.contract-info .tableLayer { margin: 15px 0 20px; }
.contract-info .tableLayer td { vertical-align: top; }
.contract-info .tableLayer dl.row { padding: 10px 0; }
.contract-info .tableLayer dt { float: left; width: 40%; text-align: right; }
.contract-info .tableLayer dd { float: left; width: 60%; text-align: left; color: #666; }
.contract-info .header2 {
	position: relative;
	padding-bottom: 18px;
	margin-bottom: 17px;
	border-bottom: 1px solid #e5e5e5;
}
.contract-info .header2 h2 {
	color: #666;
	font-weight: normal;
	font-size: 16px;
}
.contract-info .table, .tableLayer {
	width: 100%;
	text-align: center;
	border: 1px solid #e5e5e5;
}

/*------------订单详情页-----------*/
//订单详情进度 合同查看弹窗也用到
.order_detail-sprite, .progress ul.description .step1 img, .contract-info ul.description .step1 img, .progress ul.description .step2 img, .contract-info ul.description .step2 img, .progress ul.description .step2-1 img, .contract-info ul.description .step2-1 img, .progress ul.description .step3 img, .contract-info ul.description .step3 img, .progress ul.description .step4 img, .contract-info ul.description .step4 img { background-image: url('/res/styles/images/order_detail-se405b903b0.png'); background-repeat: no-repeat; }
/*------------订单详情页-----------*/
.progress ul.description, .contract-info ul.description { width: 85%; margin: 12px auto;}
.progress ul.description li, .contract-info ul.description li { position: relative; float: left; text-align: center; }
.progress ul.description li dl, .contract-info ul.description li dl { position: relative; margin-top: 15px; }
.progress ul.description li dl:before, .contract-info ul.description li dl:before { content: ""; position: absolute; top: -8px; left: 50%; margin-left: -8px; width: 16px; height: 16px; background: #959fb2; border-radius: 100%; z-index: 2; border: 3px solid #fff; }
.progress ul.description li dt, .contract-info ul.description li dt { padding-top: 20px; border-top: 2px solid #c6ccd2; color: #888; font-weight: bold; }
.progress ul.description li dd, .contract-info ul.description li dd { padding: 5px 0; color: #888; }
.progress ul.description li.now dl:before,
.contract-info ul.description li.now dl:before,
.progress ul.description.offline.step0 li:first-child dl:before,
.contract-info ul.description.offline.step0 li:first-child dl:before,
.progress ul.description.offline.step1 li:nth-child(2) dl:before,
.contract-info ul.description.offline.step1 li:nth-child(2) dl:before,
.progress ul.description.offline.step2 li:nth-child(3) dl:before,
.contract-info ul.description.offline.step2 li:nth-child(3) dl:before,
.progress ul.description.offline.step3 li:nth-child(4) dl:before,
.contract-info ul.description.offline.step3 li:nth-child(4) dl:before,
.progress ul.description.offline.step4 li:nth-child(5) dl:before,
.contract-info ul.description.offline.step4 li:nth-child(5) dl:before,
.progress ul.description.online.step0 li:first-child dl:before,
.contract-info ul.description.online.step0 li:first-child dl:before,
.progress ul.description.online.step2 li:nth-child(2) dl:before,
.contract-info ul.description.online.step2 li:nth-child(2) dl:before,
.progress ul.description.online.step3 li:nth-child(3) dl:before,
.contract-info ul.description.online.step3 li:nth-child(3) dl:before,
.progress ul.description.online.step4 li:nth-child(4) dl:before,
.contract-info ul.description.online.step4 li:nth-child(4) dl:before { top: -11px; margin-left: -10px; width: 21px; height: 21px; background: #338bf1; border-width: 4px; }
.progress ul.description li.now dt, .contract-info ul.description li.now dt, .progress ul.description.offline.step0 li:first-child dt, .contract-info ul.description.offline.step0 li:first-child dt, .progress ul.description.offline.step1 li:nth-child(2) dt, .contract-info ul.description.offline.step1 li:nth-child(2) dt, .progress ul.description.offline.step2 li:nth-child(3) dt, .contract-info ul.description.offline.step2 li:nth-child(3) dt, .progress ul.description.offline.step3 li:nth-child(4) dt, .contract-info ul.description.offline.step3 li:nth-child(4) dt, .progress ul.description.offline.step4 li:nth-child(5) dt, .contract-info ul.description.offline.step4 li:nth-child(5) dt, .progress ul.description.online.step0 li:first-child dt, .contract-info ul.description.online.step0 li:first-child dt, .progress ul.description.online.step2 li:nth-child(2) dt, .contract-info ul.description.online.step2 li:nth-child(2) dt, .progress ul.description.online.step3 li:nth-child(3) dt, .contract-info ul.description.online.step3 li:nth-child(3) dt, .progress ul.description.online.step4 li:nth-child(4) dt, .contract-info ul.description.online.step4 li:nth-child(4) dt { border-top-color: #338bf1; }
.progress ul.description li.pass dl:before, .contract-info ul.description li.pass dl:before, .progress ul.description.offline.step1 li:first-child dl:before, .contract-info ul.description.offline.step1 li:first-child dl:before, .progress ul.description.offline.step2 li:first-child dl:before, .contract-info ul.description.offline.step2 li:first-child dl:before, .progress ul.description.offline.step2 li:nth-child(2) dl:before, .contract-info ul.description.offline.step2 li:nth-child(2) dl:before, .progress ul.description.offline.step3 li:first-child dl:before, .contract-info ul.description.offline.step3 li:first-child dl:before, .progress ul.description.offline.step3 li:nth-child(2) dl:before, .contract-info ul.description.offline.step3 li:nth-child(2) dl:before, .progress ul.description.offline.step3 li:nth-child(3) dl:before, .contract-info ul.description.offline.step3 li:nth-child(3) dl:before, .progress ul.description.offline.step4 li:first-child dl:before, .contract-info ul.description.offline.step4 li:first-child dl:before, .progress ul.description.offline.step4 li:nth-child(2) dl:before, .contract-info ul.description.offline.step4 li:nth-child(2) dl:before, .progress ul.description.offline.step4 li:nth-child(3) dl:before, .contract-info ul.description.offline.step4 li:nth-child(3) dl:before, .progress ul.description.offline.step4 li:nth-child(4) dl:before, .contract-info ul.description.offline.step4 li:nth-child(4) dl:before, .progress ul.description.online.step2 li:first-child dl:before, .contract-info ul.description.online.step2 li:first-child dl:before, .progress ul.description.online.step3 li:first-child dl:before, .contract-info ul.description.online.step3 li:first-child dl:before, .progress ul.description.online.step3 li:nth-child(2) dl:before, .contract-info ul.description.online.step3 li:nth-child(2) dl:before, .progress ul.description.online.step4 li:first-child dl:before, .contract-info ul.description.online.step4 li:first-child dl:before, .progress ul.description.online.step4 li:nth-child(2) dl:before, .contract-info ul.description.online.step4 li:nth-child(2) dl:before, .progress ul.description.online.step4 li:nth-child(3) dl:before, .contract-info ul.description.online.step4 li:nth-child(3) dl:before { background: #338bf1; }
.progress ul.description li.pass dt, .contract-info ul.description li.pass dt, .progress ul.description.offline.step1 li:first-child dt, .contract-info ul.description.offline.step1 li:first-child dt, .progress ul.description.offline.step2 li:first-child dt, .contract-info ul.description.offline.step2 li:first-child dt, .progress ul.description.offline.step2 li:nth-child(2) dt, .contract-info ul.description.offline.step2 li:nth-child(2) dt, .progress ul.description.offline.step3 li:first-child dt, .contract-info ul.description.offline.step3 li:first-child dt, .progress ul.description.offline.step3 li:nth-child(2) dt, .contract-info ul.description.offline.step3 li:nth-child(2) dt, .progress ul.description.offline.step3 li:nth-child(3) dt, .contract-info ul.description.offline.step3 li:nth-child(3) dt, .progress ul.description.offline.step4 li:first-child dt, .contract-info ul.description.offline.step4 li:first-child dt, .progress ul.description.offline.step4 li:nth-child(2) dt, .contract-info ul.description.offline.step4 li:nth-child(2) dt, .progress ul.description.offline.step4 li:nth-child(3) dt, .contract-info ul.description.offline.step4 li:nth-child(3) dt, .progress ul.description.offline.step4 li:nth-child(4) dt, .contract-info ul.description.offline.step4 li:nth-child(4) dt, .progress ul.description.online.step2 li:first-child dt, .contract-info ul.description.online.step2 li:first-child dt, .progress ul.description.online.step3 li:first-child dt, .contract-info ul.description.online.step3 li:first-child dt, .progress ul.description.online.step3 li:nth-child(2) dt, .contract-info ul.description.online.step3 li:nth-child(2) dt, .progress ul.description.online.step4 li:first-child dt, .contract-info ul.description.online.step4 li:first-child dt, .progress ul.description.online.step4 li:nth-child(2) dt, .contract-info ul.description.online.step4 li:nth-child(2) dt, .progress ul.description.online.step4 li:nth-child(3) dt, .contract-info ul.description.online.step4 li:nth-child(3) dt { border-top-color: #338bf1; }
.progress ul.description .step1 img, .contract-info ul.description .step1 img { background-position: 0 0; height: 40px; width: 40px; }
.progress ul.description .step2 img, .contract-info ul.description .step2 img { background-position: 0 -100px; height: 40px; width: 40px; }
.progress ul.description .step2-1 img, .contract-info ul.description .step2-1 img { background-position: 0 -50px; height: 40px; width: 40px; }
.progress ul.description .step3 img, .contract-info ul.description .step3 img { background-position: 0 -150px; height: 40px; width: 40px; }
.progress ul.description .step4 img, .contract-info ul.description .step4 img { background-position: 0 -200px; height: 40px; width: 40px; }
.progress ul.description.offline li, .contract-info ul.description.offline li { width: 20%; }
.progress ul.description.online li, .contract-info ul.description.online li { width: 25%; }
/*--------------------合同信息页--------------------*/
.contract-info { @extend .progress}
 .tableLayer { width: 100%; max-width: 100%; table-layout: fixed; text-align: center; border: 1px solid #e5e5e5; }
 .tableLayer td { padding: 0 5px; }
 .tableLayer thead { height: 48px; line-height: 48px; background: #e5e5e5; color: #666; border-top-left-radius: 4px; border-top-right-radius: 4px; }
.tableLayer tbody tr { border-bottom: 1px solid #e5e5e5; }
 .tableLayer tbody td { height: 80px; border-right: 1px solid #e5e5e5; /* &:last-child a{padding-left: 30%;text-align: left;}*/ }
 .tableLayer tbody td a { display: block; }

.order .addr_info .table, .order .addr_info .tableLayer { margin: 20px 0 32px; }
.order .addr_info .table tbody td, .order .addr_info .tableLayer tbody td { height: 80px; }

//表单错误提示
label.error {
	color: #cc0000;font-weight: normal; }

//消息样式
.unhandle-message  .badge{
	background: #dc4848

}

.unhandle-message .unhandle-message-ul{
	width: 300px;padding:4px 6px;
}
.unhandle-message .unhandle-message-ul li{

	padding: 5px 3px;border-bottom: 1px solid #eee;text-align: center
}
.unhandle-message .unhandle-message-ul li a {
	word-wrap: break-word;
	white-space: normal
}

//弹窗表单样式
.table-form {margin: 20px;
	th{font-weight: normal;text-align: right;color: $font-info-color;}
	th,td {padding: 5px 10px;}
	.form-control {display: inline-block;width: 120px;padding:5px;margin-right: 15px;border: $border-default;}
}

.table tbody .btn-xs {margin-bottom: 3px;}